import { TerrainType } from "../utils/TerrainConfigManager";

export interface TerrainConfig {
    id: number;
    type: TerrainType;
    icon: string;
    baseGridWidth?: number;  
    baseGridHeight?: number;  
    position: {
        x: number;
        y: number;
    };
}

export interface BuildingConfig {
    id: number;
    type: string;
    position: {
        x: number;
        y: number;
    };
    size: {
        width: number;
        height: number;
    };
}

export interface MapConfig {
    terrains: TerrainConfig[];
    buildings: BuildingConfig[];
    mapSize: {
        width: number;
        height: number;
    };
    gridSize: number;
}

export const defaultMapConfig: MapConfig = {
    terrains: [],
    buildings: [],
    mapSize: {
        width: 800,
        height: 600
    },
    gridSize: 50
};